<#-- @ftlvariable name="entity" type="com.xci.edu.core.entity.EduCategory" -->
<#include "/sys/_layout.ftl">
<!doctype html>
<html>
<head>
    <@pageHeader/>
</head>
<body>
<@pageLoading/>
<div class="jxpanel jx-overflow-no winpanel" data-options="fit:true">
    <div class="jxtabs jxtabs-line" data-options="{fit:true}">
        <ul class="nav nav-tabs">
            <li class="active"><a href="#tab-basic" data-toggle="tab">基本信息</a></li>
            <li><a href="#tab-history" class="jxTabHistroyLog" data-toggle="tab">操作日志</a></li>
        </ul>
        <div class="tab-content">
            <div id="tab-basic" class="tab-pane jx-overflow-auto fade in active">
                <table id="basic" class="table table-bordered jxtable-details">
                    <tr>
                        <th>科目名称</th>
                        <td>${entity.name}</td>
                    </tr>
                    <tr>
                        <th>培训总学时(秒)</th>
                        <td>${entity.totalPeriod}</td>
                    </tr>
                    <tr>
                        <th>每日最大培训学时(秒)</th>
                        <td>${entity.dayMaxPeriod}</td>
                    </tr>
                    <tr>
                        <th>验证问题允许尝试最大次数</th>
                        <td>${entity.validateTryTime}</td>
                    </tr>
                    <tr>
                        <th>验证问题回答超时时间(秒)</th>
                        <td>${entity.validateTimeout}</td>
                    </tr>
                    <tr>
                        <th>验证问题随机弹出时间范围</th>
                        <td>${entity.validateRandomRange}</td>
                    </tr>
                    <tr>
                        <th>状态</th>
                        <td>${web.statusLabel(entity.status)}</td>
                    </tr>
                    <tr>
                        <th>备注</th>
                        <td>${entity.remark}</td>
                    </tr>
                </table>
            </div>
            <div id="tab-history" class="tab-pane jx-overflow-auto fade">
                <@tabHistroyLog tableName="EduCategory" primaryKey=entity.id/>
            </div>
        </div>
    </div>
</div>
<@pageFooter/>
</body>
</html>
